package com.platform.qujia.service.impl;

import com.platform.qujia.dao.CustomerCardUseRecordMapper;
import com.platform.qujia.param.request.OrderPayInfo;
import com.platform.qujia.pojo.CustomerCardUseRecord;
import com.platform.qujia.service.CustomerCardUseRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerCardUseRecordImpl implements CustomerCardUseRecordService {

    @Autowired
    private CustomerCardUseRecordMapper customerCardUseRecordMapper;

    @Override
    public CustomerCardUseRecord getCustomerCardUseRecordByOrdNo(OrderPayInfo orderPayInfo) {
        return customerCardUseRecordMapper.getCustomerCardUseRecordByOrdNo(orderPayInfo);
    }
}
